﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterHome.Master" AutoEventWireup="true" CodeBehind="TaiKhoanKhachHang.aspx.cs" Inherits="EC21_EDiamond.TaiKhoanKhachHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
    <style type="text/css">
        .auto-style1
        {
            font-size: 13pt;
        }
        .auto-style2
        {
            width: 405px;
            height: 29px;
        }
        .auto-style3
        {
            height: 29px
        }
        .auto-style4
        {
            font-size: 13pt;
            width: 405px;
            height: 20px;
        }
        .auto-style5
        {
            height: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <table style="width: 100%;">
        <tr>
            <td colspan="2" class="logo_menu" style="font-size: xx-large; color: #0000FF"><strong>THÔNG TIN KHÁCH HÀNG</strong></td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right;" class="auto-style1">Tài Khoản:</td>
            <td>
                <asp:TextBox ID="txtTaiKhoan" runat="server" Width="170px" placeholder="Tên Tài Khoản" ReadOnly="True" BorderStyle="None" CssClass="auto-style1"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right;" class="auto-style1">Tên Khách Hàng:</td>
            <td>
                <asp:TextBox ID="txtTenUser" runat="server" Width="170px" placeholder="Tên Khách Hàng" BorderStyle="None" CssClass="auto-style1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtTenUser" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: right;" class="auto-style4">Địa Chỉ:</td>
            <td class="auto-style5">
                <asp:TextBox ID="txtDiaChi" runat="server" Width="169px" placeholder="Địa Chỉ Khách Hàng" BorderStyle="None" Height="19px" CssClass="auto-style1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtDiaChi" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: right; " class="auto-style2">Mã Tỉnh:</td>
            <td class="auto-style3">
                <asp:DropDownList ID="drpTinh" runat="server" Height="25px" Width="169px" CssClass="auto-style1">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right;" class="auto-style1">Số Điện Thoại:</td>
            <td>
                <asp:TextBox ID="txtDienThoai" runat="server" Width="170px" placeholder="Số Điện Thoại" CssClass="auto-style1" BorderStyle="None" BorderColor="Black"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtDienThoai" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtDienThoai" ErrorMessage="Số Điện Thoại Không Đúng!" style="color: #FF0000" ValidationExpression="^(0\d{9,10})"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right;" class="auto-style1">Email:</td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="170px" placeholder="Địa Chỉ Email" CssClass="auto-style1" BorderStyle="None"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtEmail" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="Địa Chỉ Email không hợp lệ!" style="color: #FF0000" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right;" class="auto-style1">Điểm Tích Lũy:</td>
            <td>
                <asp:Label ID="lblDiemTichLuy" runat="server" CssClass="auto-style1"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; height: 48px;" class="text-right"></td>
            <td style="height: 48px">
                <asp:Button ID="btnDongY" runat="server" Text="Cập Nhật Thông Tin" BorderStyle="None" Width="173px" OnClick="btnDongY_Click" CssClass="auto-style1"/>
            </td>
        </tr>
    </table>
</asp:Content>
